//
//  QNuploader.h
//  laonianbang
//
//  Created by 勇拓 李 on 17/10/12.
//  Copyright © 2017年 zaiyou. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, QiNiuUploadType) {
    Voice_file = 0,
    Image_file,
    Video_file
};

typedef void ( ^ QNuploaderBlock ) (NSString * url);

@interface QNuploader : NSObject

#define QiNiuShareInstance [QNuploader shareInstance]

+ ( instancetype ) shareInstance;

- (void)uploadImageToQNFilePath:(NSString *)filePath type:(QiNiuUploadType)type block:(QNuploaderBlock)block;
- (void)getQiNiuToken;

@end
